<?xml version="1.0" encoding="UTF-8"?>

<ui:composition xmlns="http://www.w3.org/1999/xhtml"
xmlns:f="http://java.sun.com/jsf/core"
     xmlns:h="http://java.sun.com/jsf/html"
     xmlns:ui="http://java.sun.com/jsf/facelets"
     xmlns:p="http://primefaces.org/ui"
     template="../../../Template.xhtml"
>
<ui:define name="title">Carrier Details
</ui:define>

<ui:define name="body">

<h:form>
	<p:panelGrid columns="2">
<h2>Carrier details</h2>
<p:commandButton value="Back" action="ManagePrivateCarriers.xhtml" />
<p:commandButton value="Edit" action="#{clientMB.edit(client.idUtilisateur)}" />
</p:panelGrid>
</h:form>
<br/><br/><br/><br/>
<h:form>

<p:messages id="messages" showDetail="true" autoUpdate="true" closable="true" />

	<p:panelGrid columns="2">
	<p:outputLabel  value="Last Name :" />
		<p:outputLabel id="LName" value="#{clientMB.client.nom}" />
		
		
		<p:outputLabel  value="First Name :" />
		<p:outputLabel id="fName" value="#{clientMB.client.prenom}" />
		
		
		<p:outputLabel  value="Transport type:" />	
	<p:dataList value="#{clientMB.client.listTransportTrCat}" var="car" type="ordered">
        #{car.intitule}
    </p:dataList>
		
		
	  <p:outputLabel value="Select Country :" />
	 <p:outputLabel  value="#{clientMB.client.ville_Utilisateur.etat.pays.intitule}" />
            
	
	  <p:outputLabel value="Select State :" />
	 <p:outputLabel value="#{clientMB.client.ville_Utilisateur.etat.intitule}" />
        
            
            
		<p:outputLabel value="Select City :"/>
	 <p:outputLabel value="#{clientMB.client.ville_Utilisateur.intitule}" />
            
               
               
            <p:outputLabel  value="Zipcode :" />
		<p:outputLabel id="zipcode" value="#{clientMB.client.codePost_usr}" />
	
		
		
		 <p:outputLabel  value="Street :" />
		<p:outputLabel id="Street" value="#{clientMB.client.rue_usr}" />
		
		
		
		
		<p:outputLabel  value="Telephone :" />
		<p:outputLabel id="Telephone" value="#{clientMB.client.telephone_usr}" />
	
		
		<p:outputLabel  value="Mobile :" />
		<p:outputLabel id="Mobile" value="#{clientMB.client.mobile_usr}" />
		
		
		
		<p:outputLabel value="Industry Type :"/>
		  <p:outputLabel value="#{clientMB.client.industrie.intitule}" />
      
		
		
		<p:outputLabel  value="Email :" />
		<p:outputLabel id="Email" value="#{clientMB.client.email}"/>
	
		
			<p:outputLabel  value="Password :" />
		<p:outputLabel id="Password" value="#{clientMB.client.password}" />
		
		
		
		<p:outputLabel  value="Username :" />
		<p:outputLabel id="Username" value="#{clientMB.client.username}" />
		
		
		<p:outputLabel  value="Client Identification Number(CID) :" />
		<p:outputLabel id="clid" value="#{clientMB.client.CID}" />
		
		
		
		<p:outputLabel value="Status :" />
		 <p:outputLabel value="#{clientMB.client.statut}" />
	
	</p:panelGrid>
</h:form>
</ui:define>
</ui:composition>